from flask import Blueprint

exercises_bp = Blueprint('exercises', __name__, url_prefix='/exercises')

# 导入子蓝图
from .scratch_exercises import scratch_exercises_bp
from .python_exercises import python_exercises_bp

# 注册子蓝图
exercises_bp.register_blueprint(scratch_exercises_bp, url_prefix='/scratch')
exercises_bp.register_blueprint(python_exercises_bp, url_prefix='/python')
